﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AbstractFactory
{
    /// <summary>
    /// 聚类算法抽象工厂接口（负责创建“算法+参数”产品族）
    /// </summary>
    public interface IFactory
    {
        /// <summary>
        /// 创建聚类算法实例
        /// </summary>
        /// <returns>IClustering实例</returns>
        IClustering CreateClustering();

        /// <summary>
        /// 创建对应算法的参数实例
        /// </summary>
        /// <returns>IParams实例</returns>
        IParams CreateParams();
    }
}
